package com.jett.JFtpServer.Utils;


import cn.hutool.setting.dialect.Props;

public class GenEncConfig {
    private static final  String ftpConfigPathStr="ftp_sm4.config";
    public static void main(String[] args) {
        SM4Util sm4Util = new SM4Util("dl_cebbank_95595");
        Props  props =new Props(ftpConfigPathStr);
        String ftpServerPath = props.getProperty("ftpServerPath");
        String user = props.getProperty("user");
        String password = props.getProperty("password");
        String ipWriteList = props.getProperty("ipWriteList");
        System.out.println("ftpServerPath:"+sm4Util.encryptHex(ftpServerPath));
        System.out.println("user:"+sm4Util.encryptHex(user));
        System.out.println("password:"+sm4Util.encryptHex(password));
        System.out.println("ipWriteList:"+sm4Util.encryptHex(ipWriteList));
    }
}
